package model

import "fmt"

type User struct {
	Id     int
	Age    byte
	Name   string
	Gender string
	Phone  string
	Email  string
}

func GetUser(id int, age byte, name string, gender string, phone string, email string) User {
	return User{id, age, name, gender, phone, email}
}
func GetUser2() User {
	return User{}
}

func (this User) String() string {
	return fmt.Sprintf("%v\t %v\t %v\t %v\t %v\t %v", this.Id, this.Name, this.Gender, this.Age, this.Phone, this.Email)
}
